/********************************************************************************
 *      Copyright:  (C) 2022 YanlinZhou<1222>
 *                  All rights reserved.
 *
 *       Filename:  sqlite.h
 *    Description:  This head file 
 *
 *        Version:  1.0.0(04/09/2022)
 *         Author:  YanlinZhou <1222>
 *      ChangeLog:  1, Release initial version on "04/09/2022 05:34:47 PM"
 *                 
 ********************************************************************************/

#ifndef  _SQLITE_H_
#define  _SQLITE_H_

#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <stdio.h>
#include <unistd.h>
#include "sqlite.h"
#include "sqlite3.h"

int create_database_and_table(sqlite3 **db);
int server_save_data(char *name, char *temp, char *time, sqlite3 *db);
int create_database(sqlite3 **db);
int create_table(sqlite3 *db);

#endif   /* ----- #ifndef _SQLITE_H_  ----- */

